package com.gxuwz.medical.dao;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.gxuwz.medical.domain.grade.Type;

public class TypeDao extends GenericDao<Type> {
	@Override
	protected Type handle(ResultSet rs) throws SQLException {
			Type t = new Type();
			String name = rs.getString("name");
			String type = rs.getString("type");
			Type entity=new Type(name, type);
			return entity;
		}
		
	}
